package com.ruoyi.quartz.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class JobLogDTO extends BaseDO {

	private String jobName;//job名称
	private String instanceName;//机器名称
	private String status;//状态
	private String startDate;//开始时间
	private String endDate;//结束时间
	private String executeTime;//执行耗时
	private String errorMsg;//错误信息

	public JobLogDTO() {
		super();
	}

	public JobLogDTO(Long id, String status, String endDate, String executeTime, String errorMsg) {
		super.setId(id);
		this.status = status;
		this.endDate = endDate;
		this.executeTime = executeTime;
		this.errorMsg = errorMsg;
	}


	public JobLogDTO(String jobName, String instanceName, String status, String startDate, String endDate,
			String executeTime) {
		this.jobName = jobName;
		this.instanceName = instanceName;
		this.status = status;
		this.startDate = startDate;
		this.endDate = endDate;
		this.executeTime = executeTime;
	}

}
